import request from '@/utils/request'

export function selectAllHospitalType(data) {
    return request({
        url: '/hospitalType/all/',
        method: 'post',
        data: data
    })
}

export function allId(data) {
    return request({
        url: '/hospitalType/all/id',
        method: 'post',
        data: data
    })
}

export function addHospitalType(data) {
    return request({
        url: '/hospitalType/add',
        method: 'post',
        data: data
    })
}

export function updateHospitalType(data) {
    return request({
        url: '/hospitalType/update',
        method: 'post',
        data: data
    })
}

export function deleteHospitalType(data) {
    return request({
        url: '/hospitalType/delete',
        method: 'post',
        data: data
    })
}